﻿
namespace HOG.Resources
{
    /// <summary>
    /// Class  that provide language binding to control.
    /// </summary>
    public class LanguageManager : System.ComponentModel.INotifyPropertyChanged
    {
        private static Resource1 _strings = new Resource1();

        public Resource1 LocalizedStrings
        {
            get { return _strings; }
            set { OnPropertyChanged("LocalizedStrings"); }
        }

        #region INotifyPropertyChanged Members

        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;

        private void OnPropertyChanged(string propertyName)
        {
            if (PropertyChanged != null)
                PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
        }

        #endregion
    }
}
